import request from "@/utils/request";
import type { LoginInput, LoginPayload } from "./index";

export const login = (data: LoginInput) => {
  return request.post<LoginPayload>("/users/login", data);
};
